﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MVCMusicStore.ViewModels.StoreIndexViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Store
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Browse Genres</h2>
    <p>Select from <%:Model.NumberOfGenres %> genres</p>
    <ul>
    <%foreach (string item in Model.Genres)
      { %>
      <li>
      <a href="/Store/Browse/?genre=<%:item %>"><%:item %></a>
      </li>
    <%} %>
    </ul>
</asp:Content>
